package cn.ffcs.uec.outStaff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.dao.UecOutStaffContractDao;
import cn.ffcs.uec.outStaff.manager.UecOutStaffContractManager;
import cn.ffcs.uec.outStaff.model.UecOutStaffContract;
import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecOutStaffContractManager")
@Scope("prototype")
public class UecOutStaffContractManagerImpl implements UecOutStaffContractManager {

	@Resource
	private UecOutStaffContractDao uecOutStaffContractDao;

	@Override
	public PageInfo queryPageInfoByUecOutStaffContract(UecOutStaffInfo uecOutStaffInfo, int current, int pageSize) {
		return uecOutStaffContractDao.queryPageInfoByUecOutStaffContract(uecOutStaffInfo, current, pageSize);
	}

	@Override
	public PageInfo queryPageInfo(int current, int pageSize) {
		return uecOutStaffContractDao.queryPageInfo(current, pageSize);
	}

	@Override
	public UecOutStaffContract qryUecOutStaffContractByUecOutStaffInfo(UecOutStaffInfo uecOutStaffInfo) {
		return uecOutStaffContractDao.qryUecOutStaffContractByUecOutStaffInfo(uecOutStaffInfo);
	}
}
